package com.oceansoft.mobile.econsole.modules.jlwt.persistence;

import com.oceansoft.mobile.econsole.modules.jlwt.entity.SysOrg;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wzy on 2016/1/29.
 */
@Repository
public interface ISysOrgMapper {

    List<SysOrg> getRegion(@Param("parentGuid") String parentGuid ,@Param("stype") String stype);

    SysOrg findById(@Param("guid")String guid ,@Param("stype")String stype);
    SysOrg findByGuid(@Param("guid")String guid);


    List<SysOrg> getOrg(@Param("parentGuid") String parentGuid );

    List<SysOrg> getOrgNs(@Param("parentGuid") String parentGuid );


}
